package org.dxy.domain.exception;

import org.dxy.types.exception.DomainException;

import static org.dxy.types.enums.ErrorCodeEnum.WORK_ORDER_NOT_FOUND;

/**
 * @description:
 * @author: dxy
 * @createTime: 2025/6/15 0:12
 */
public class WorkOrderNotFoundException extends DomainException {

    public WorkOrderNotFoundException(Long workOrderId) {
        super(WORK_ORDER_NOT_FOUND.getCode(), "工单不存在，ID: " + workOrderId);
    }
}
